import { createApp, h } from 'vue'
import { createPinia } from 'pinia'
import Antd from '@/components/antd'
import PTestComps from 'p-test-comp-es'
import 'p-test-comp-es/dist/css/index.css'
import 'cropperjs/dist/cropper.css'
import globalComponents from '@/components/elements'

import App from './App.vue'
import router from './router'
import '@/theme/index.scss'
import '@/style/index.scss'

const app = createApp(App)

app.use(Antd)
app.use(PTestComps)
app.use(globalComponents)
app.use(createPinia())
app.use(router)
app.mount('#app')
